﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Authorization.Domain.Model.Organization
{
    /// <summary>
    /// 行业表
    /// </summary>
    [Table("IndustryModel")]
    public class IndustryModel
    {
        [Key]
        ///主键
        public int IndustryId { get; set; }

        /// <summary>
        /// 行业名称
        /// </summary>
        [Column(TypeName = "nvarchar(50)")]
        [MaxLength(50)]
        public string IndustryName { get; set; }

        /// <summary>
        /// 父级行业ID
        /// </summary>
        public int ParentIndustry { get; set; }
    }
}
